
#ifndef MONITOR_H
#define MONITOR_H

#include <pthread.h>

typedef struct{
	pthread_mutex_t mutex;
	pthread_cond_t cond1;
	pthread_cond_t cond2;
	int counter;
	int limit;
} monitor_t;

#endif
